﻿Imports System
Imports System.Configuration

Public Class SitemapProviderSection
	Inherits ConfigurationSection

	<ConfigurationProperty("providers")> _
	   Public ReadOnly Property Providers() As ProviderSettingsCollection
		Get
			Return CType(MyBase.Item("providers"), ProviderSettingsCollection)
		End Get
	End Property

	<StringValidator(MinLength:=1), ConfigurationProperty("defaultProvider", DefaultValue:="coreSitemapProvider")> _
	Public Property DefaultProvider() As String
		Get
			Return CStr(MyBase.Item("defaultProvider"))
		End Get
		Set(ByVal value As String)
			MyBase.Item("defaultProvider") = value
		End Set
	End Property
End Class
